home *** CD-ROM | disk | FTP | other *** search
- Path: interramp.com!usenet
- From: us027214@interramp.com (Rocky Pulley)
- Newsgroups: comp.lang.c++
- Subject: Color Text?!?!? HELP!!!
- Date: Thu, 29 Feb 96 16:32:30 -0400
- Organization: PSI Public Usenet Link
- Message-ID: <4h569s$plt@usenet5.interramp.com>
- NNTP-Posting-Host: ip18.baltimore4.md.interramp.com
-
- I purchased a book that had Borland C 1.0, now I bought
- Borland C/C++ 3.1. anyway, in the 1.0 version, i could do
- a small program like,
- #include <stdio.h>
- #include <conio.h>
- main()
- {
- textcolor(BLACK);
- textbackground(YELLOW);
- clrscr();
- cprintf("this is in color\n");
- return 0;
- }
-
- and all would be fine, but when i try it in 3.0, it gives
- me error messages that say,"textcolor needs a prototype"
- "textbackground needs a prototype" "undefined symbol 'BLack'
- undefined symbol 'YELLOW'" "cprintf needs a prototype"...
- I just dont understand why it works in 1.0, but not in 3.0
- If you can give me any advise I would really appreciate it
- please email me at iban123@aol.com
-